package hutech.ksv.service;

import hutech.ksv.dao.DuyetQuanAnDao;
import hutech.ksv.entity.ThongTinQuanAnEntity;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DuyetQuanAnService implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Autowired
	DuyetQuanAnDao duyetQuanAnDao;
	
	public List<ThongTinQuanAnEntity> getTatCaThongTinQuanAn() {
		return duyetQuanAnDao.getTatCacThongTinQuanAn();
	}
	
	public int duyetQuanAn(int maQA) {
		return duyetQuanAnDao.duyetQuanAn(maQA);
	}

}
